package ddmzs.test;

public class Main {
      public static void main(String[] args){
          Cat cat = new Cat("Tom");
          cat.printInfo();
          Mouse mouse = new Mouse("Jerry");
          mouse.printInfo();

          cat.eat("鱼");
          mouse.stealFood();
          cat.catchMouse(mouse);
      }
}
